package com.ep.thirdPlatformProject.system.aop;

import com.ep.thirdPlatformProject.system.enums.OASyncLogEnum;

import java.lang.annotation.*;

/**
 * 同步记录日志
 *
 * @author Karl
 * @date 2024/07/26
 */
@Target({ElementType.TYPE, ElementType.METHOD,ElementType.RECORD_COMPONENT})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SyncRecordLog {

    OASyncLogEnum logType();

    /**
     * 日期限制
     *
     * @return boolean
     */
    boolean dateLimit();

}
